import React, { Component } from 'react';
// import ClickCounter from './pages/ClickCounter'
import Home from './pages/routerpages/Home'
import About from './pages/routerpages/About'
import Links from './pages/routerpages/Links';

import { BrowserRouter as Router, Route} from 'react-router-dom';

class App extends Component {
  render() {
    return (
      <Router>
        <div>
            <Links />
            <hr/>
            <Route exact path="/" component = {Home} />
            <Route path='/about' component = {About} />
        </div>
      </Router>
    );
  }
}

export default App;
